class AlertSystem:
    def __init__(self):
        self.subscribers = []
    
    def send_alert(self, message, level='info'):
        # 实现告警发送逻辑
        pass
    
    def add_subscriber(self, subscriber):
        self.subscribers.append(subscriber) 